package entity;

public class Pagination {
	private int totalRow;
	private int currentPage;
	private int totalPage;
	private int pageSize = 5;

	public Pagination() {
		super();
	}

	public Pagination(int totalRow, int currentPage, int totalPage, int pageSize) {
		super();
		this.totalRow = totalRow;
		this.currentPage = currentPage;
		this.totalPage = totalPage;
		this.pageSize = pageSize;
	}

	public int getTotalRow() {
		return totalRow;
	}

	public void setTotalRow(int totalRow) {
		this.totalRow = totalRow;
	}

	public int getCurrentPage() {
		return currentPage;
	}

	public void setCurrentPage(int currentPage) {
		this.currentPage = currentPage;
	}

	public int getTotalPage() {
		return totalPage;
	}

	public void setTotalPage(int totalPage) {
		this.totalPage = totalPage;
	}

	public int getPageSize() {
		return pageSize;
	}

	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}

}
